- unless project.marked_for_deletion?
  = render Pajamas::ButtonComponent.new(href: project, size: :small, method: :delete, button_options: { data: { confirm: remove_project_message(project), confirm_btn_variant: 'danger' }, aria: { label: _('Delete project') }}) do
    = _('Delete')
